#ifndef _LED_H
#define _LED_H

#define LED_ON 	 		_IOW('L', 0x12, int)
#define LED_OFF 		_IOW('L', 0x34, int)
#define LED_ALL_ON	_IO('L', 0x56)
#define LED_ALL_OFF	_IO('L', 0x78)
#define READ_DATA   _IOR('L', 0x11, DATA*)
#define WRITE_DATA  _IOW('L', 0x22, DATA*)


/*定义结构体类型*/
typedef struct
{
	char data1;
	int data2;
} DATA;


#endif

